package com.skyz.wrap.activity;

import android.os.Bundle;
import android.widget.RelativeLayout;

import androidx.appcompat.widget.AppCompatImageView;

import com.skyz.base.util.ScreenUtils;
import com.skyz.wrap.R;
import com.yzq.zxinglibrary.android.CaptureActivity;

public class MyCaptureActivity extends CaptureActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AppCompatImageView back = findViewById(R.id.backIv);
        int vw = (int) ScreenUtils.dp2px(6);
        int vh = (int) ScreenUtils.dp2px(12);
        back.setPadding(vw,vh,vw,vh);
        RelativeLayout.LayoutParams lp = (RelativeLayout.LayoutParams) back.getLayoutParams();
    }
}
